package com.blog.dao;

import com.blog.dao.base.Dao;
import com.blog.entity.User;
import org.springframework.stereotype.Repository;

/**
 * Created with IntelliJ IDEA.
 * Author:  Wu Yujie
 * Email:  coffee377@dingtalk.com
 * Time:  2017/02/16 00:07
 */
public interface UserDao extends Dao<User> {
    boolean existUser(String userName);

    User login(String userName, String password);
}
